package cn.sz.hy.event.top;

import org.eclipse.swt.widgets.Widget;

import cn.sz.hy.event.Event;

public class FileOpenEvent extends Event {
	private int tableType;
	
	public FileOpenEvent(Widget srcComponent, int tableType) {
		super(srcComponent);
		this.tableType = tableType;
	}

	@Override
	public Widget getKey() {
		return super.srcComponent;
	}

	public void setSrcComponent(Widget srcComponent) {
		this.srcComponent = srcComponent;
	}

	public int getTableType() {
		return tableType;
	}

}
